<?php


namespace app\common\service\companyIndustry\realtime;

use app\common\service\BaseService;

/**
 * 脱硫运行浓度
 */
class SulfurConcentrationService extends BaseService
{

    /**
     * （减排前）脱硫运行浓度 - 返回单个值
     * @param int $companyId
     * @param int $drainId
     * @param int $facilityId
     * @return int
     */
    public function singleCompanySingleDrainSingleFacility($facilityId)
    {
        return 1;
    }

    /**
     * （减排前）脱硫运行浓度 - 返回天数
     * @param int $companyId
     * @param int $drainId
     * @param int $facilityId
     *  @param string $type days天数| hours小时数
     * @return int
     */
    public function singleCompanySingleDrainSingleFacilityDetails($facilityId, $type = 'days')
    {
        $date = ['07/22','07/22','07/22','07/22'];
        $data = [1, 2, 3, 4];
        $result = [
            'date' => $date,
            'data' => $data,
        ];
        return $result;
    }
}